package com.luo.backend.dto;

import java.math.BigDecimal;
import java.util.List;

/**
 * 商家菜品请求DTO（新增/修改菜品）
 */
public class MerchantFoodRequest {
    
    private Long categoryId;           // 分类ID
    private String name;                // 菜品名称
    private String description;         // 描述
    private String image;               // 图片URL
    private BigDecimal price;           // 价格
    private BigDecimal originalPrice;   // 原价
    private Integer stock;              // 库存
    private Integer isHot;              // 是否热门 (0-否, 1-是)
    private Integer isRecommended;      // 是否推荐 (0-否, 1-是)
    private List<String> tags;          // 标签
    private List<String> spiceLevels;   // 辣度选项
    private Integer status;             // 状态 (0-下架, 1-上架)
    
    public MerchantFoodRequest() {
    }
    
    // Getters and Setters
    public Long getCategoryId() {
        return categoryId;
    }
    
    public void setCategoryId(Long categoryId) {
        this.categoryId = categoryId;
    }
    
    public String getName() {
        return name;
    }
    
    public void setName(String name) {
        this.name = name;
    }
    
    public String getDescription() {
        return description;
    }
    
    public void setDescription(String description) {
        this.description = description;
    }
    
    public String getImage() {
        return image;
    }
    
    public void setImage(String image) {
        this.image = image;
    }
    
    public BigDecimal getPrice() {
        return price;
    }
    
    public void setPrice(BigDecimal price) {
        this.price = price;
    }
    
    public BigDecimal getOriginalPrice() {
        return originalPrice;
    }
    
    public void setOriginalPrice(BigDecimal originalPrice) {
        this.originalPrice = originalPrice;
    }
    
    public Integer getStock() {
        return stock;
    }
    
    public void setStock(Integer stock) {
        this.stock = stock;
    }
    
    public Integer getIsHot() {
        return isHot;
    }
    
    public void setIsHot(Integer isHot) {
        this.isHot = isHot;
    }
    
    public Integer getIsRecommended() {
        return isRecommended;
    }
    
    public void setIsRecommended(Integer isRecommended) {
        this.isRecommended = isRecommended;
    }
    
    public List<String> getTags() {
        return tags;
    }
    
    public void setTags(List<String> tags) {
        this.tags = tags;
    }
    
    public List<String> getSpiceLevels() {
        return spiceLevels;
    }
    
    public void setSpiceLevels(List<String> spiceLevels) {
        this.spiceLevels = spiceLevels;
    }
    
    public Integer getStatus() {
        return status;
    }
    
    public void setStatus(Integer status) {
        this.status = status;
    }
}
















